package dimes.model;


/**
    * shopcart 实体类
    * Fri Nov 29 10:59:01 CST 2019 Nmggy
    */ 


public class Shopcart{
	private int id;
	private int uid;
	private int pid;
	private Product p;//购物车中的一种商品
	private int num;
	public Product getP() {
		return p;
	}
	public void setP(Product p) {
		this.p = p;
	}
	public void setId(int id){
	this.id=id;
	}
	public int getId(){
		return id;
	}
	public void setUid(int uid){
	this.uid=uid;
	}
	public int getUid(){
		return uid;
	}
	public void setPid(int pid){
	this.pid=pid;
	}
	public int getPid(){
		return pid;
	}
	public void setNum(int num){
	this.num=num;
	}
	public int getNum(){
		return num;
	}
}

